package cn.sczhyt.modules.app.controller;

import cn.sczhyt.common.utils.PageUtils;
import cn.sczhyt.common.utils.R;
import cn.sczhyt.modules.app.annotation.Login;
import cn.sczhyt.modules.szhy.entity.MeetingScheduleEntity;
import cn.sczhyt.modules.szhy.service.MeetingScheduleService;
import cn.sczhyt.modules.szhy.service.MeetingService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import java.util.Arrays;
import java.util.List;


/**
 * 会议日程
 *
 * @author luojialin
 * @email 78357966@qq.com
 * @date 2021-03-24 10:40:08
 */
@Api(tags = "APP端会议日程")
@RestController
@RequestMapping("app/meetingschedule")
public class AppMeetingScheduleController {
    @Autowired
    private MeetingScheduleService meetingScheduleService;

    /**
     * 信息
     */
    @Login
    @ApiOperation("会议日程所有列表")
    @GetMapping("/info/{meetingId}")
    public R info(@PathVariable("meetingId") String meetingId){

		List<MeetingScheduleEntity> list = meetingScheduleService.getByMeetingId(meetingId);


        return R.ok().put("data", list);
    }



}
